import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_tb_base_risk_events_by_id_entity.g.dart';

@JsonSerializable()
class GetTbBaseRiskEventsByIdEntity {

	GetTbBaseRiskEventsByIdEntity();

	factory GetTbBaseRiskEventsByIdEntity.fromJson(Map<String, dynamic> json) => $GetTbBaseRiskEventsByIdEntityFromJson(json);
	String? id;
	String? companyCode;
	String? riskUnitId;
	String? riskEventName;
	String? deleted;
	int? initialRiskConsequences;
	int? initialRiskDegree;
	int? initialRiskPossibility;
	String? initialRiskLevel;
	String? currentRiskLevel;
	String? dataSources;
	dynamic workType;
	String? createDate;
	String? createById;
	String? updateById;
	String? createBy;
	String? updateDate;
	String? updateBy;
	String? hazardCode;
	String? riskObjectId;
	int? status;
	String? riskDescription;
	String? warehouseId;
	int? isUpload;
	dynamic currentRiskDegree;
	dynamic level;

	Map<String, dynamic> toJson() => $GetTbBaseRiskEventsByIdEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}